package cn.tom.entity;

import java.util.Date;

public class Mark {
   private int id;
   private String sno;
   private String sname;
   private String clzno;
   private String clzname;
   private int  cno;
   private String cname;
   private double score;
   private Date tpost;
   private int tid;

   public void setId(int id) {
      this.id = id;
   }

   public void setSno(String sno) {
      this.sno = sno;
   }

   public void setSname(String sname) {
      this.sname = sname;
   }

   public void setClzno(String clzno) {
      this.clzno = clzno;
   }

   public void setClzname(String clzname) {
      this.clzname = clzname;
   }

   public void setCno(int cno) {
      this.cno = cno;
   }

   public void setCname(String cname) {
      this.cname = cname;
   }

   public void setScore(double score) {
      this.score = score;
   }

   public void setTpost(Date tpost) {
      this.tpost = tpost;
   }

   public void setTid(int tid) {
      this.tid = tid;
   }

   public int getId() {
      return id;
   }

   public String getSno() {
      return sno;
   }

   public String getSname() {
      return sname;
   }

   public String getClzno() {
      return clzno;
   }

   public String getClzname() {
      return clzname;
   }

   public int getCno() {
      return cno;
   }

   public String getCname() {
      return cname;
   }

   public double getScore() {
      return score;
   }

   public Date getTpost() {
      return tpost;
   }

   public int getTid() {
      return tid;
   }

   public Mark() {
   }

   @Override
   public String toString() {
      return "Mark{" +
              "id=" + id +
              ", sno='" + sno + '\'' +
              ", sname='" + sname + '\'' +
              ", clzno='" + clzno + '\'' +
              ", clzname='" + clzname + '\'' +
              ", cno=" + cno +
              ", cname='" + cname + '\'' +
              ", score=" + score +
              ", tpost=" + tpost +
              ", tid=" + tid +
              '}';
   }
}
